package net.studou.po;

import java.util.Date;

/**
 * Article entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Article implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 5839571490409776533L;
	private Integer articleId;
	private String title;
	private String content;
	private Integer type;
	private Integer status;
	private Date createTime;

	// Constructors

	/** default constructor */
	public Article() {
	}

	/** full constructor */
	public Article(Integer articleId, String title, String content, Integer type,
			Integer status, Date createTime) {
		this.articleId = articleId;
		this.title = title;
		this.content = content;
		this.type = type;
		this.status = status;
		this.createTime = createTime;
	}

	// Property accessors
	public Integer getArticleId() {
		return articleId;
	}

	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}